package com.spzx.product.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.spzx.common.core.vo.BaseVo;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 商品规格展示类 ProductSpecVo
 *
 * @author gaozz
 */
@Data
@Schema(description = "商品规格")
public class ProductSpecVo extends BaseVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "分类ID")
    private Long categoryId;

    @Schema(description = "规格名称")
    private String specName;

    @Schema(description = "规格值")
    private String specValue;

    @Schema(description = "分类名称")
    private String categoryName;

    @Schema(description = "分类id列表")
    private List<Long> categoryIdList;

    @JsonIgnore
    private Long category2Id;

    @JsonIgnore
    private Long category1Id;
}
